package com.sylvek.sentinel;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

/**
 * @author sylvek
 * 
 */
public class PersistenceFactory {

    private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional");

    private PersistenceFactory()
    {
        // private
    }

    public static final PersistenceManager getManager()
    {
        return pmfInstance.getPersistenceManager();
    }
}
